package com.itheima.mm.wx.mapper;

import com.itheima.mm.vo.wx.WxCategoryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Description CatalogMapper
 * @Author Yc
 * @Date 2024-06-27
 */
@Mapper
public interface CatalogMapper {

    /**
     * 获取当前会员已完成题目数量
     * @param memberId
     * @param courseId
     * @return
     */
    List<WxCategoryVO> selectCatalogListByQueryParam(Integer memberId, Integer courseId);

    /**
     * 查询学科目录统计数据
     * @param queryMap
     * @return
     */

    List<Map> selectCatalogListByQueryParam2(Map<String, Object> queryMap);
}
